package com.chengyu.core.service.services;

import com.chengyu.core.domain.form.ServicesPublishSeckillForm;
import com.chengyu.core.model.UmsShop;

import java.util.List;

public interface ServicesSeckillService {

    /**
     * 发布秒杀活动
     * @author wenlj
     * @date   2022/10/9
     * @param  shop 店铺
     * @param  publishForm 活动信息
     */
    void addSeckillServices(UmsShop shop, ServicesPublishSeckillForm publishForm);

    /**
     * 删除秒杀活动
     * @author wenlj
     * @date   2022/10/9
     * @param  servicesIdList 商品ID集合
     */
    void deleteSeckill(List<Integer> servicesIdList);
}
